from math import *

from core.basic.character import Character
from core.basic.skill import 主动技能, 技能, 被动技能


class 技能0(主动技能):
    名称 = '烈火燎原'
    所在等级 = 1

    学习间隔 = 2
    等级上限 = 70
    等级精通 = 60

    data0 = [1.052*x for x in [0, 27, 37, 49, 59, 71, 76, 86, 98, 107, 117, 129, 139, 149, 158, 168, 180, 190, 202, 207, 217, 229, 239, 248, 260, 268, 280, 290, 299, 311, 321, 333, 339, 348,
                               360, 370, 380, 390, 399, 411, 421, 431, 443, 452, 465, 470, 480, 492, 501, 511, 521, 531, 543, 552, 562, 575, 585, 589, 601, 611, 623, 633, 640, 652, 662, 675, 685, 694, 706, 716, 720]]

    hit0 = 1
    能量 = 140
    最小值 = 4
    CD = 5.0
    持续秒数 = 6.0
    TP成长 = 0.1
    TP上限 = 7
    硬直时长百分比 = 0

    MP = [24, 252]

    形态 = ['普通', '觉醒']
    power0 = 0

    def 形态变更(self, 形态, char: Character):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '普通':
            self.power0 = 1
        elif 形态 == '觉醒':
            觉醒后能量消耗 = 70
            self.power0 = 觉醒后能量消耗 / self.最小值
#            self.data0 = [int(x * 觉醒后能量消耗 / self.最小值) for x in self.data0]
#            self.data0 = [0.5*x for x in data0]
            # self.最小值 = 觉醒后能量消耗


class 技能1(主动技能):
    名称 = '炽炎星陨'
    所在等级 = 1

    学习间隔 = 2
    等级上限 = 70
    等级精通 = 60

    data0 = [1.052*x for x in [0, 143, 195, 246, 297, 346, 397, 449, 500, 550, 601, 650, 703, 754, 804, 855, 904, 957, 1007, 1058, 1108, 1161, 1211, 1261, 1311, 1362, 1415, 1465, 1515, 1565, 1617, 1668, 1719, 1769, 1818,
                               1868, 1922, 1971, 2022, 2071, 2124, 2175, 2225, 2276, 2327, 2379, 2428, 2479, 2529, 2581, 2633, 2682, 2732, 2783, 2836, 2886, 2937, 2986, 3038, 3089, 3140, 3190, 3240, 3291, 3343, 3394, 3444, 3495, 3545, 3597, 3647]]

    hit0 = 1
    能量 = 140
    最小值 = 20
    CD = 5.0
    持续秒数 = 1.0
    TP成长 = 0.1
    TP上限 = 7
    硬直时长百分比 = 0

    MP = [3, 36]

    形态 = ['普通', '觉醒']
    power0 = 0

    def 形态变更(self, 形态, char: Character):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '普通':
            self.power0 = 1
        elif 形态 == '觉醒':
            觉醒后能量消耗 = 70
            self.power0 = 觉醒后能量消耗 / self.最小值


class 技能2(主动技能):
    名称 = '冰霜之球'
    所在等级 = 10

    学习间隔 = 2
    等级上限 = 70
    等级精通 = 60

    data0 = [int(i*1.05) for i in [0, 85, 97, 109, 120, 135, 146, 158, 171, 183, 195, 209, 221, 233, 245, 258, 270, 282, 296, 308, 320, 333, 345, 357, 370, 383, 395, 407, 420, 432, 445, 458, 470,
                                   482, 494, 507, 520, 532, 545, 557, 569, 582, 595, 607, 618, 631, 643, 655, 669, 681, 693, 706, 718, 730, 742, 756, 768, 780, 793, 805, 818, 831, 843, 855, 867, 880, 893, 905, 916, 929, 941]]

    hit0 = 6
    # 能量消耗值：20
    能量 = 140
    最小值 = 20
    CD = 10.0
    持续秒数 = 3.0
    TP成长 = 0.1
    TP上限 = 7
    硬直时长百分比 = 0

    MP = [4, 40]

    形态 = ['普通', '觉醒']
    power0 = 0

    def 形态变更(self, 形态, char: Character):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '普通':
            self.power0 = 1
            self.最小值 = 20
        elif 形态 == '觉醒':
            觉醒后能量消耗 = 70
            self.power0 = 觉醒后能量消耗 / self.最小值


class 技能3(主动技能):
    名称 = '冰天震地'
    所在等级 = 10

    学习间隔 = 2
    等级上限 = 70
    等级精通 = 60
    # 冰盘攻击力：<data0>
    data0 = [1.05*x for x in [0, 990, 1135, 1279, 1422, 1569, 1712, 1858, 2001, 2146, 2290, 2435, 2580, 2724, 2869, 3014, 3157, 3302, 3446, 3592, 3736, 3879, 4023, 4167, 4314, 4457, 4603, 4746, 4890, 5034, 5181, 5324, 5468, 5614,
                              5759, 5902, 6048, 6191, 6336, 6480, 6626, 6769, 6915, 7059, 7203, 7347, 7494, 7637, 7782, 7925, 8068, 8216, 8359, 8503, 8647, 8792, 8935, 9083, 9226, 9370, 9513, 9660, 9804, 9948, 10093, 10238, 10381, 10528, 10671, 10815, 10960]]

    hit0 = 1
    # 能量消耗值：40
    能量 = 140
    最小值 = 40
    CD = 10.0
    持续秒数 = 1.0
    TP成长 = 0.7
    TP上限 = 7
    硬直时长百分比 = 0

    MP = [9, 94]

    形态 = ['普通', '觉醒']
    power0 = 0

    def 形态变更(self, 形态, char: Character):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '普通':
            self.power0 = 1
        elif 形态 == '觉醒':
            觉醒后能量消耗 = 140
            self.power0 = 觉醒后能量消耗 / self.最小值


class 技能4(被动技能):
    名称 = '幻想之境'
    所在等级 = 20

    等级上限 = 20
    基础等级 = 10

    def 独立攻击力倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        elif self.等级 <= 10:
            return round(1 + 0.01 * self.等级, 5)
        else:
            return round(1.1 + 0.015 * (self.等级 - 10), 5)


class 技能5(被动技能):
    名称 = '具象强化'
    所在等级 = 25

    等级上限 = 20
    基础等级 = 10

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.05 + 0.025 * self.等级, 5)


class 技能6(主动技能):
    名称 = '烈焰飓风'
    所在等级 = 30

    学习间隔 = 2
    等级上限 = 70
    等级精通 = 60

    # 烈焰飓风攻击力：<data0>
    data0 = [1.051*x for x in [0, 572, 629, 688, 745, 802, 861, 919, 979, 1035, 1093, 1152, 1210, 1268, 1325, 1384, 1442, 1502, 1557, 1616, 1675, 1733, 1789, 1848, 1906, 1965, 2021, 2080, 2137, 2198, 2255, 2312, 2371, 2429,
                               2486, 2544, 2602, 2660, 2720, 2778, 2835, 2893, 2952, 3009, 3067, 3125, 3183, 3241, 3298, 3358, 3416, 3473, 3532, 3589, 3648, 3704, 3764, 3821, 3881, 3936, 3995, 4055, 4112, 4171, 4227, 4285, 4344, 4402, 4459, 4517, 4578]]

    hit0 = 12
    # 烈焰飓风持续时间：3秒
    # 能量消耗值：60
    能量 = 140
    最小值 = 60
    CD = 20
    持续秒数 = 4.0
    TP成长 = 0.10
    TP上限 = 5
    硬直时长百分比 = 0.05
    是否有护石 = 1

    无色消耗 = 1

    MP = [43, 452]

    def 装备护石(self):
        self.CDR *= 0.85
        self.power0 *= 1.09


class 技能7(主动技能):
    名称 = '极冰护盾'
    所在等级 = 30

    学习间隔 = 2
    等级上限 = 70
    等级精通 = 60

    data0 = [1.052*x for x in [0, 3745, 4125, 4506, 4885, 5267, 5646, 6026, 6406, 6787, 7168, 7545, 7925, 8306, 8687, 9066, 9446, 9827, 10207, 10587, 10967, 11346, 11728, 12108, 12488, 12866, 13246, 13628, 14006, 14387, 14767, 15149, 15527, 15907, 16288,
                               16667, 17049, 17428, 17809, 18187, 18570, 18948, 19327, 19708, 20089, 20470, 20848, 21228, 21609, 21989, 22369, 22749, 23128, 23510, 23891, 24269, 24648, 25029, 25410, 25789, 26169, 26549, 26931, 27309, 27690, 28070, 28451, 28831, 29209, 29589, 29969]]
    hit0 = 1

    CD = 20.0
    持续秒数 = 1.0
    能量 = 140
    最小值 = 60
    TP成长 = 0.10
    TP上限 = 5
    硬直时长百分比 = 0.1

    无色消耗 = 1

    MP = [43, 452]


class 技能8(主动技能):
    名称 = '超能旋风波'
    所在等级 = 40

    学习间隔 = 2
    等级上限 = 70
    等级精通 = 60

    data0 = [1.051 * x for x in [0, 460, 508, 552, 598, 647, 692, 739, 786, 833, 880, 928, 972, 1020, 1067, 1113, 1160, 1208, 1254, 1300, 1348, 1394, 1440, 1486, 1534, 1581, 1628, 1673, 1722, 1767, 1814, 1860, 1906, 1953, 2000,
                                 2047, 2094, 2141, 2187, 2235, 2282, 2327, 2374, 2422, 2468, 2514, 2562, 2608, 2656, 2701, 2747, 2794, 2841, 2887, 2935, 2982, 3028, 3075, 3123, 3169, 3214, 3262, 3308, 3355, 3401, 3449, 3496, 3544, 3589, 3635, 3681]]

    hit0 = 1
    CD = 25.0
    持续秒数 = 5.0
    能量 = 140
    最小值 = 4
    TP成长 = 0.10
    TP上限 = 5
    硬直时长百分比 = 0
    是否有护石 = 1
    护石选项 = ['圣痕']

    无色消耗 = 1

    MP = [81, 680]

    形态 = ['普通', '觉醒']
    power0 = 0

    def 形态变更(self, 形态, char: Character):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '普通':
            self.power0 = 1
        elif 形态 == '觉醒':
            觉醒后能量消耗 = 46
            self.power0 = 觉醒后能量消耗 / self.最小值

    def 装备护石(self):
        self.倍率 *= 1.32


class 技能9(主动技能):
    名称 = '风暴漩涡'
    所在等级 = 40

    学习间隔 = 2
    等级上限 = 70
    等级精通 = 60

    data0 = [1.05*x for x in [0, 1881, 2072, 2263, 2455, 2646, 2837, 3029, 3219, 3411, 3602, 3794, 3984, 4174, 4365, 4556, 4747, 4939, 5130, 5321, 5513, 5703, 5895, 6085, 6276, 6467, 6658, 6849, 7039, 7230, 7422, 7613, 7804, 7996, 8186, 8378,
                              8567, 8759, 8950, 9141, 9332, 9523, 9714, 9905, 10097, 10288, 10480, 10669, 10859, 11051, 11243, 11434, 11625, 11816, 12007, 12198, 12389, 12581, 12772, 12961, 13152, 13344, 13534, 13725, 13917, 14108, 14299, 14490, 14681, 14872, 15063]]

    hit0 = 1

    能量 = 140
    最小值 = 20
    CD = 25.0
    持续秒数 = 5.0
    TP成长 = 0.10
    TP上限 = 5
    硬直时长百分比 = 0
    是否有护石 = 1

    无色消耗 = 1

    MP = [243, 2041]

    形态 = ['普通', '觉醒']

    def 形态变更(self, 形态, char: Character):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == '普通':
            self.power0 = 1
        elif 形态 == '觉醒':
            觉醒后能量消耗 = 70
            self.power0 = 觉醒后能量消耗 / self.最小值
#            self.data0 = [int(x * 觉醒后能量消耗 / self.最小值) for x in self.data0]
            # self.最小值 = 觉醒后能量消耗

    def 装备护石(self):
        self.CDR *= 0.85
        self.倍率 *= 1.22


class 技能10(被动技能):
    名称 = '洞悉'
    所在等级 = 48

    学习间隔 = 3
    等级上限 = 50
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.025 + 0.02 * self.等级, 5)


class 技能11(主动技能):
    名称 = '末日虫洞'
    所在等级 = 50

    学习间隔 = 3
    等级上限 = 50
    等级精通 = 40

    data0 = [1.101*x for x in [0, 310, 360, 410, 460, 509, 560, 611, 659, 709, 757, 808, 857, 908, 958, 1006, 1057, 1106, 1156, 1204, 1256, 1306, 1354, 1404, 1454, 1504, 1553, 1604, 1655, 1702, 1752, 1801, 1851, 1901, 1952,
                               2002, 2050, 2101, 2149, 2199, 2248, 2300, 2350, 2398, 2448, 2497, 2548, 2596, 2647, 2697, 2746, 2796, 2845, 2895, 2944, 2996, 3046, 3093, 3142, 3193, 3243, 3294, 3343, 3394, 3442, 3492, 3540, 3591, 3642, 3691, 3741]]
    data1 = [1.101*x for x in [0, 15202, 17627, 20051, 22475, 24896, 27322, 29746, 32169, 34593, 37015, 39441, 41865, 44286, 46711, 49135, 51559, 53983, 56407, 58829, 61255, 63678, 66101, 68525, 70948, 73373, 75797, 78220, 80644, 83068, 85491, 87915, 90338, 92762, 95188, 97610,
                               100034, 102455, 104882, 107307, 109728, 112152, 114576, 117001, 119424, 121849, 124270, 126694, 129120, 131543, 133966, 136390, 138815, 141239, 143661, 146085, 148508, 150933, 153357, 155781, 158203, 160629, 163051, 165476, 167899, 170322, 172747, 175171, 177593, 180018, 182444]]

    hit0 = 19
    hit1 = 1

    CD = 45.0
    持续秒数 = 3.0
    能量 = 100
    最小值 = 100
    TP成长 = 0.10
    TP上限 = 5
    硬直时长百分比 = 0
    是否有护石 = 1
    无色消耗 = 2

    MP = [464, 3897]

    def 装备护石(self):
        self.倍率 *= 1.28


class 技能12(主动技能):
    名称 = '冰雪降临'
    所在等级 = 60

    学习间隔 = 3
    等级上限 = 50
    等级精通 = 40

    data0 = [1.051*x for x in [0, 685, 793, 901, 1010, 1120, 1229, 1338, 1447, 1557, 1665, 1775, 1884, 1994, 2103, 2211, 2321, 2429, 2540, 2648, 2757, 2867, 2976, 3084, 3193, 3302, 3411, 3521, 3630, 3739, 3847, 3958, 4067, 4176,
                               4285, 4393, 4504, 4612, 4722, 4830, 4940, 5050, 5158, 5268, 5376, 5485, 5594, 5703, 5811, 5922, 6030, 6140, 6249, 6359, 6468, 6576, 6686, 6794, 6905, 7013, 7122, 7232, 7341, 7451, 7558, 7667, 7777, 7886, 7994, 8104, 8212]]

    # 范围大小 1.2~1的倍率
    power0 = 1.2
    hit0 = 21
    CD = 31.5
    持续秒数 = 3.0
    能量 = 100
    最小值 = 50
    TP成长 = 0.10
    TP上限 = 5
    硬直时长百分比 = 0
    是否有护石 = 1

    无色消耗 = 1

    MP = [619, 1733]

    def 装备护石(self):
        能量消耗 = 2
        self.data0 = [int(x * 能量消耗 / self.最小值) for x in self.data0]
        self.最小值 = 能量消耗
        self.power0 *= 1.37
        self.持续秒数 = 0.5
        self.硬直时长百分比 = 0.15


class 技能13(主动技能):
    名称 = '时空链接'
    所在等级 = 70

    学习间隔 = 2
    等级上限 = 50
    等级精通 = 40

    data0 = [0, 893, 983, 1074, 1165, 1254, 1345, 1437, 1527, 1618, 1709, 1799, 1890, 1979, 2070, 2161, 2251, 2343, 2434, 2525, 2614, 2705, 2795, 2886, 2977, 3067, 3158, 3250, 3339, 3430, 3521, 3611, 3702, 3793, 3883,
             3974, 4063, 4154, 4246, 4336, 4427, 4518, 4608, 4699, 4789, 4879, 4970, 5062, 5152, 5243, 5334, 5423, 5514, 5604, 5695, 5786, 5877, 5968, 6059, 6148, 6239, 6330, 6420, 6511, 6602, 6692, 6783, 6873, 6964, 7055, 7146]
    hit0 = 34
    CD = 54
    持续秒数 = 5.0
    能量 = 100
    最小值 = 50
    TP成长 = 0.10
    TP上限 = 5
    硬直时长百分比 = 0.05
    是否有护石 = 1

    无色消耗 = 3

    MP = [1098, 2305]

    def 装备护石(self):
        self.倍率 *= 1.32


class 技能14(被动技能):
    名称 = '创世之力'
    所在等级 = 75

    学习间隔 = 3
    等级上限 = 50
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.22 + 0.02 * self.等级, 5)


class 技能15(主动技能):
    名称 = '时空禁制'
    所在等级 = 80

    学习间隔 = 3
    等级上限 = 50
    等级精通 = 40

    data0 = [1.051*x for x in [0, 991, 1147, 1306, 1463, 1621, 1779, 1936, 2095, 2252, 2411, 2568, 2727, 2884, 3040, 3200, 3356, 3516, 3674, 3831, 3990, 4146, 4304, 4463, 4621, 4778, 4938, 5094, 5251, 5410, 5567, 5728, 5884, 6042, 6200,
                               6357, 6514, 6672, 6832, 6988, 7148, 7304, 7462, 7621, 7777, 7938, 8094, 8253, 8411, 8567, 8726, 8882, 9042, 9200, 9358, 9515, 9672, 9831, 9987, 10146, 10304, 10463, 10621, 10777, 10936, 11094, 11251, 11409, 11569, 11726, 11883]]
    data1 = [1.051*x for x in [0, 29711, 34447, 39183, 43918, 48655, 53392, 58128, 62864, 67602, 72339, 77074, 81811, 86547, 91283, 96020, 100756, 105492, 110229, 114964, 119702, 124439, 129175, 133913, 138648, 143384, 148121, 152858, 157594, 162331, 167068, 171802, 176539, 181275, 186012,
                               190750, 195487, 200220, 204958, 209695, 214432, 219169, 223906, 228641, 233377, 238113, 242850, 247587, 252322, 257059, 261795, 266531, 271268, 276007, 280742, 285479, 290216, 294951, 299688, 304423, 309160, 313897, 318634, 323369, 328105, 332841, 337578, 342316, 347054, 351790, 356524]]

    hit0 = 30
    hit1 = 1

    CD = 45.0
    持续秒数 = 7.0
    能量 = 100
    最小值 = 100
    硬直时长百分比 = 0
    是否有护石 = 1

    无色消耗 = 5

    MP = [1317, 9877]

    def 装备护石(self):
        self.倍率 *= 0.5 * 2.74


class 技能16(主动技能):
    名称 = '创世'
    所在等级 = 85

    学习间隔 = 5
    等级上限 = 50
    等级精通 = 40
    #    基础 = 84924.00
    #    成长 = 25632.0

    data0 = [1.052*x for x in [0, 24278, 29906, 35535, 41166, 46794, 52425, 58054, 63685, 69314, 74943, 80572, 86203, 91832, 97462, 103090, 108721, 114350, 119980, 125608, 131241, 136869, 142500, 148130, 153759, 159388, 165018, 170648, 176277, 181906, 187536, 193166, 198795, 204424, 210056,
                               215684, 221315, 226943, 232574, 238203, 243833, 249461, 255092, 260721, 266351, 271979, 277610, 283239, 288870, 294497, 300131, 305758, 311388, 317017, 322649, 328277, 333907, 339537, 345167, 350795, 356425, 362055, 367685, 373313, 378944, 384574, 390204, 395833, 401462, 407092, 412722]]

    hit0 = 6
    CD = 180.0
    持续秒数 = 1
    能量 = 100
    最小值 = 100
    硬直时长百分比 = 0

    无色消耗 = 10

    MP = [3727, 7454]


class 技能17(被动技能):
    名称 = '天工开物'
    所在等级 = 95

    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.18 + 0.02 * self.等级, 5)


class 技能18(主动技能):
    名称 = '创世之光'

    所在等级 = 95

    学习间隔 = 2
    等级上限 = 50
    等级精通 = 40
    #    基础 = 84924.00
    #    成长 = 25632.0
    data0 = [0, 108124, 119092, 130060, 141030, 151998, 162969, 173937, 184907, 195875, 206846, 217814, 228782, 239752, 250720, 261691, 272659, 283630, 294597, 305568, 316536, 327507, 338475, 349442, 360413, 371381, 382352, 393320, 404290, 415258, 426229, 437197, 448164, 459135, 470103,
             481074, 492042, 503012, 513980, 524951, 535919, 546887, 557857, 568825, 579796, 590764, 601735, 612702, 623673, 634641, 645609, 656580, 667547, 678518, 689486, 700457, 711424, 722395, 733363, 744331, 755302, 766269, 777240, 788208, 799179, 810147, 821117, 832085, 843053, 854024, 864992]

    data0 = [1.051*1.191*1.085*x for x in data0]

    hit0 = 1
    CD = 60.0
    持续秒数 = 3.5
    能量 = 100
    最小值 = 100
    硬直时长百分比 = 0

    无色消耗 = 7

    MP = [773, 6000]

#	def 加成倍率(self, 武器类型):
#        return 0.0


class 技能19(主动技能):
    名称 = '时之终末：归烬'

    所在等级 = 100

    学习间隔 = 5
    等级上限 = 50
    等级精通 = 40
    #    基础 = 84924.00
    #    成长 = 25632.0
    data0 = [0, 15479, 19068, 22657, 26246, 29836, 33425, 37015, 40603, 44193, 47783, 51371, 54962, 58550, 62140, 65729, 69318, 72908, 76497, 80086, 83676, 87264, 90855, 94443, 98033, 101621, 105211, 108801, 112390, 115979, 119568, 123157, 126748, 130336, 133926, 137514, 141104,
             144695, 148283, 151873, 155461, 159051, 162639, 166230, 169819, 173408, 176997, 180586, 184175, 187766, 191354, 194944, 198532, 202122, 205712, 209301, 212890, 216479, 220068, 223658, 227247, 230837, 234426, 238015, 241605, 245194, 248784, 252372, 255962, 259550, 263141]
    hit0 = 9
    data1 = [0, 325055, 400430, 475805, 551181, 626556, 701930, 777305, 852680, 928057, 1003432, 1078807, 1154183, 1229558, 1304933, 1380308, 1455682, 1531060, 1606435, 1681809, 1757185, 1832560, 1907935, 1983309, 2058684, 2134062, 2209436, 2284811, 2360187, 2435561, 2510936, 2586311, 2661686, 2737063, 2812438, 2887813,
             2963189, 3038564, 3113939, 3189313, 3264688, 3340066, 3415440, 3490815, 3566191, 3641566, 3716941, 3792316, 3867691, 3943065, 4018443, 4093817, 4169194, 4244568, 4319943, 4395318, 4470693, 4546070, 4621445, 4696820, 4772196, 4847571, 4922944, 4998319, 5073694, 5149069, 5224446, 5299821, 5375197, 5450572, 5525947]
    hit1 = 1

    CD = 290
    持续秒数 = 6
    能量 = 100
    最小值 = 100
    硬直时长百分比 = 0

    无色消耗 = 15

    MP = [4028, 8056]

#    def 加成倍率(self, 武器类型):
#        return 0.0


class 技能20(被动技能):
    名称 = '自我觉醒'
    所在等级 = 50
    等级上限 = 1
    基础等级 = 1

    def 独立攻击力倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return 1.11


class classChange(Character):
    def __init__(self):
        self.实际名称 = 'creator'
        self.名称 = '知源·缔造者'
        self.角色 = '魔法师(女)'
        self.职业 = '缔造者'
        # 用来筛CP武器的
        self.转职 = '缔造者'
        self.武器选项 = ['魔杖', '扫把']
        self.输出类型选项 = ['魔法固伤']
        self.防具精通属性 = ['智力']
        self.类型 = '魔法固伤'
        self.武器类型 = '扫把'
        self.防具类型 = '板甲'
        技能列表 = []
        技能序号 = {}
        i = 0
        while i >= 0:
            try:
                tem = eval('技能'+str(i)+'()')
                tem.基础等级计算()
                技能序号[tem.名称] = i
                技能列表.append(tem)
                i += 1
            except:
                i = -1
        self.技能栏 = 技能列表
        self.技能序号 = 技能序号
        self.buff = 1.66

        super().__init__()
